﻿<UserControl x:Class="View.Views.AddProjectView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="75" d:DesignWidth="300">

    <Grid Margin="0,0,0,0" >
            <Button x:Name="btnAddProject" Content="Add this project!"
                HorizontalAlignment="Left" Margin="174,44,0,0" 
                VerticalAlignment="Top" Width="108"
                Command="{Binding CreateProjectCommand}" />
        <Label Content="Project name:" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txtProjectName" HorizontalAlignment="Left" Height="26" Margin="97,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="185" BorderThickness="3" 
                 Text="{Binding Path=ProjectName, UpdateSourceTrigger=PropertyChanged}"/>
    </Grid>
</UserControl>
